//
// Created by lihengliu on 2023/2/26.
//

#ifndef JNIDEMO_JNI_DOUBLE_UTIL_H
#define JNIDEMO_JNI_DOUBLE_UTIL_H
#include <jni.h>
class JNIDoubleUtil {
public:
    jclass createDoubleClass(JNIEnv *env);

    jobject createDoubleInstanceOfDouble(JNIEnv *env);
    jobject createDoubleInstanceOfDouble(JNIEnv *env, jclass class_double);

    jmethodID createDoubleConstructorOfDouble(JNIEnv *env);
    jmethodID createDoubleConstructorOfDouble(JNIEnv *env,jclass class_double);

    jmethodID createDoubleDoubleValueMethod(JNIEnv *env);
    jmethodID createDoubleDoubleValueMethod(JNIEnv *env, jclass class_double);
};
#endif //JNIDEMO_JNI_DOUBLE_UTIL_H
